package main

import (
	"fmt"
	"os/exec"
)

func main() {
	ret, err := exec.Command("ping", "www.baidu.com", "-c", "3").Output()
	if err != nil {
		fmt.Println(err)
		return
	}
	fmt.Println("ret :", string(ret))
}